{extend name="layout"}
{block name="detail"}
<header class="aui-header-default aui-header-fixed aui-header-bg">
    <a href="" class="aui-header-item" style="visibility:hidden;">
        <i class="aui-icon aui-icon-back-white"></i>
    </a>
    <div class="aui-header-center aui-header-center-clear">
        <div class="aui-header-center-logo">
            <div class="aui-car-white-Typeface">评论</div>
        </div>
    </div>
    <a href="#" class="aui-header-item-icon" style="min-width:0;visibility:hidden;">
        <i class="aui-icon aui-icon-member"></i>
    </a>
</header>

<div style="margin-top: 40px;padding-left: 10px;padding-right: 10px;">

    <form action="{:url('index/center/saveComment')}" method="post" enctype="multipart/form-data">
        <input type="hidden" name="orderId" value="{$orderId}">
        <div style="margin-bottom: 20px;line-height: 30px;width: 100%;">
          <span style="width: 30%;display: inline-block">
              <input type="radio" name="cType" checked value="0" style="width: 20px;height: 20px">好评
          </span>
          <span style="width: 30%;display: inline-block">
              <input type="radio" name="cType" value="1" style="width: 20px;height: 20px">中评
          </span>
          <span style="width: 30%;display: inline-block">
              <input type="radio" name="cType" value="2" style="width: 20px;height: 20px">差评
          </span>
        </div>
        <div style="margin-bottom: 20px;line-height: 30px;width: 100%;">
           上传图片： <input type="file" name="img" accept="image/*" multiple>
        </div>
        <div>
          详情：  <textarea name="content" style="width: 90%;height: 100px;"></textarea>
        </div>
        <div class="text-center">
            <input type="submit" value="提交" class="btn btn-danger">
        </div>
    </form>
</div>

{/block}